
package com.lianxian.xindong.mvp.model.api;

import android.text.TextUtils;

import com.hxb.library.integration.AppManager;
import com.hxb.library.utils.DataHelper;

import static com.lianxian.xindong.commonsdk.http.Api.APP_DOMAIN;
import static com.lianxian.xindong.commonsdk.http.Api.APP_DOMAIN_NAME;

/**
 * ================================================
 * 存放一些与 API 有关的东西,如请求地址,请求码等
 * <p>
 * Created by JessYan on 08/05/2016 11:25
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * ================================================
 */
public interface Api {
    String APP_Doman_Name = APP_DOMAIN_NAME;
    String spUrl = DataHelper.getStringSF(AppManager.appContext(), APP_DOMAIN_NAME);
    String APP_Doman_Url = TextUtils.isEmpty(spUrl) ? APP_DOMAIN : spUrl;
}
